<template>
  <header @click="$router.push('/')">
    <i class="iconfont logo">&#xe736;</i>
    <span>Chat Travel</span>
  </header>
</template>

<script>
export default {
  name: "secHeader",
  props: {},
  components: {},
  data() {
    return {};
  },
  computed: {},
  mounted() {},
  methods: {},
  watch: {},
};
</script>
<style lang="scss" scoped>
//@import url(); 引入公共css类
header {
  position: fixed;
  left: 50px;
  top: 20px;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  i {
    font-size: 35px;
    color: #fff;
    margin-right: 5px;
  }
  span {
    font-family: monospace;
    font-size: 20px;
    font-weight: 600;
  }
}
</style>
